public static function getDatabaseColumnValidationValue(ColumnMapper $databaseColumnMapper, string $validationType)
    {
        foreach (self::getDatabaseColumnValidation($databaseColumnMapper) as $validation) {
            if (!is_array($validation) && $validation == $validationType) {
                return true;
            } elseif (is_array($validation) && $validation[0] == $validationType) {
                return $validation[1];
            }
        }

        return false;
    }
public static function getDatabaseColumnValidationValue(ColumnMapper $databaseColumnMapper, string $validationType)
    {
        foreach (self::getDatabaseColumnValidation($databaseColumnMapper) as $validation) {
            if (!is_array($validation) && $validation == $validationType) {
                return true;
            } elseif (is_array($validation) && $validation[0] == $validationType) {
                return $validation[1];
            }
        }

        return false;
    }
returns true, false, or validation value