original_string: public static function is_valid($fullclassname, $baseclass) {
          if (is_subclass_of($fullclassname, $baseclass)) {
              if ((new \ReflectionClass($fullclassname))->isInstantiable()) {
                  return true;
              }
          }
          return false;
      }
code: public static function is_valid($fullclassname, $baseclass) {
          if (is_subclass_of($fullclassname, $baseclass)) {
              if ((new \ReflectionClass($fullclassname))->isInstantiable()) {
                  return true;
              }
          }
          return false;
      }
code_tokens: public static function is_valid ( $ fullclassname , $ baseclass ) { if ( is_subclass_of ( $ fullclassname , $ baseclass ) ) { if ( ( new \ ReflectionClass ( $ fullclassname ) ) -> isInstantiable ( ) ) { return true ; } } return false ; }
docstring: Returns whether a time splitting method is valid or not.
  
  @param string $fullclassname
  @param string $baseclass
  @return bool
docstring_tokens: Returns whether a time splitting method is valid or not .