(cls, data)
return "object" in data and data["object"] == cls.stripe_class.OBJECT_NAME
Returns whether the data is a valid object for the class
Returns whether the data is a valid object for the class
Returns whether the data is a valid object for the class
def is_valid_object(cls, data):
        """
        Returns whether the data is a valid object for the class
        """
        return "object" in data and data["object"] == cls.stripe_class.OBJECT_NAME
def is_valid_object ( cls , data ) : return "object" in data and data [ "object" ] == cls . stripe_class . OBJECT_NAME