aws_lambda_decorators/validators.py
def validate(value=None):
        """
        Check if a string is a valid currency based on ISO 4217

        Args:
            value (str): value to validate against a ISO 4217
        """

        if value is None:
            return True

        return value.upper() in CURRENCIES

        Check if a string is a valid currency based on ISO 4217

        Args:
            value (str): value to validate against a ISO 4217
        
Check if a string is a valid currency based on ISO 4217
Check if a string is a valid currency based on ISO 4217
def validate(value=None):
        if value is None:
            return True
        return value.upper() in CURRENCIES
def validate ( value = None ) : if value is None : return True return value . upper ( ) in CURRENCIES
Check if a string is a valid currency based on ISO 4217
Check if a string is a valid currency based on ISO 4217
"""
        Check if a string is a valid currency based on ISO 4217

        Args:
            value (str): value to validate against a ISO 4217
        """
value
value to validate against a ISO 4217
value to validate against a ISO 4217