src/Utility/Validate/Utility.php
public static function isValidFieldType(string $type) : bool
    {
        try {
            $config = ConfigFactory::getByType($type, 'dummy_field');
        } catch (InvalidArgumentException $e) {
            return false;
        }

        return true;
    }
public static function isValidFieldType(string $type) : bool
    {
        try {
            $config = ConfigFactory::getByType($type, 'dummy_field');
        } catch (InvalidArgumentException $e) {
            return false;
        }

        return true;
    }
public static function isValidFieldType ( string $ type ) : bool { try { $ config = ConfigFactory :: getByType ( $ type , 'dummy_field' ) ; } catch ( InvalidArgumentException $ e ) { return false ; } return true ; }
Check if the field type is valid

Migration field type needs a field handler configuration.

@param string $type Field type
@return bool True if valid, false otherwise
Check if the field type is valid