original_string: public static function validate($license = null)
      {
          if (!is_string($license)) {
              return false;
          }
  
          return preg_match('#' . self::$regex. '#', $license);
      }
code: public static function validate($license = null)
      {
          if (!is_string($license)) {
              return false;
          }
  
          return preg_match('#' . self::$regex. '#', $license);
      }
code_tokens: public static function validate ( $ license = null ) { if ( ! is_string ( $ license ) ) { return false ; } return preg_match ( '#' . self :: $ regex . '#' , $ license ) ; }
docstring: Validates the License format
  
  @param string $license
  
  @return bool
docstring_tokens: Validates the License format