<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __content_type_matches(self, content_type, available_content_types):
 """Check if the given content type matches one of the available content types. Args: content_type (str):
 The given content type. available_content_types list(str):
 All the available content types. Returns: bool: True if a match was found, False otherwise. """


        if content_type is None:
            return False

        if content_type in available_content_types:
            return True

        for available_content_type in available_content_types:
            if available_content_type in content_type:
                return True

        return False