public static function is_valid($fullclassname, $baseclass) {
        if (is_subclass_of($fullclassname, $baseclass)) {
            if ((new \ReflectionClass($fullclassname))->isInstantiable()) {
                return true;
            }
        }
        return false;
    }
public static function is_valid($fullclassname, $baseclass) {
        if (is_subclass_of($fullclassname, $baseclass)) {
            if ((new \ReflectionClass($fullclassname))->isInstantiable()) {
                return true;
            }
        }
        return false;
    }
public static function is_valid ( $ fullclassname , $ baseclass ) { if ( is_subclass_of ( $ fullclassname , $ baseclass ) ) { if ( ( new \ ReflectionClass ( $ fullclassname ) ) -> isInstantiable ( ) ) { return true ; } } return false ; }
Returns whether a time splitting method is valid or not.

@param string $fullclassname
@param string $baseclass
@return bool
Returns whether a time splitting method is valid or not .