src/Helpers/ReflectionHelper.php
public static function isInstantiable($className)
    {
        $reflection = static::getClassReflection($className);
        if ($reflection === null) {
            return false;
        }
        return $reflection->isInstantiable();
    }
public static function isInstantiable($className)
    {
        $reflection = static::getClassReflection($className);
        if ($reflection === null) {
            return false;
        }
        return $reflection->isInstantiable();
    }
Check that class is instantiable
@param string $className
@return bool