original_string: protected static function is_format_supported($format) {
          $formats = self::fetch_supported_formats();
  
          $format = trim(\core_text::strtolower($format));
          return in_array($format, $formats);
      }
code: protected static function is_format_supported($format) {
          $formats = self::fetch_supported_formats();
  
          $format = trim(\core_text::strtolower($format));
          return in_array($format, $formats);
      }
code_tokens: protected static function is_format_supported ( $ format ) { $ formats = self :: fetch_supported_formats ( ) ; $ format = trim ( \ core_text :: strtolower ( $ format ) ) ; return in_array ( $ format , $ formats ) ; }
docstring: Whether the specified file format is supported.
  
  @param   string $format Whether conversions between this format and another are supported
  @return  bool
docstring_tokens: Whether the specified file format is supported .