'Check if the number format is actually representing a date.'

def is_date_format(self, format=None):

    if (format is None):
        format = self._format_code
    return any([(x in format) for x in self.DATE_INDICATORS])
