@classmethod
def validate_timestamp_field(cls, value, null=True):
    """
        Validate timestamp field value

        :type value: int | float
        :param value:

        :type null: bool
        :param null: is allow None value

        :rtype: dict
        :return: {'is_valid':bool, 'error_msg':str}
        """
    is_valid = True
    error_msg = None
    if null is False and value is None:
        is_valid = False
        error_msg = 'Data should not be None'
    if value is not None and isinstance(value, int) is False and isinstance(
        value, float) is False:
        is_valid = False
        error_msg = 'Data type should be <float> or <int> timestamp'
    return {'is_valid': is_valid, 'error_msg': error_msg}
