def validate_current_password(self, value):
if self.instance and self.instance.has_usable_password() and not self.instance.check_password(value):<EOL><INDENT>raise serializers.ValidationError(_('<STR_LIT>'))<EOL><DEDENT>return value<EOL>
current password check