aws_lambda_decorators/validators.py
def validate(self, value=None):
        """
        Check if a value is of the right type

        Args:
            value (object): object to be validated.
        """
        if value is None:
            return True

        return isinstance(value, self._condition)

        Check if a value is of the right type

        Args:
            value (object): object to be validated.
        
Check if a value is of the right type
Check if a value is of the right type
def validate(self, value=None):
        if value is None:
            return True
        return isinstance(value, self._condition)
def validate ( self , value = None ) : if value is None : return True return isinstance ( value , self . _condition )
Check if a value is of the right type
Check if a value is of the right type
"""
        Check if a value is of the right type

        Args:
            value (object): object to be validated.
        """
self
value
object to be validated.
object to be validated .