src/Utility/Validate/Utility.php
public static function isRealRelationField(string $module, string $field) : bool
    {
        $fields = self::getRealRelationFields($module);

        if (empty($fields)) {
            return false;
        }

        return in_array($field, $fields);
    }
public static function isRealRelationField(string $module, string $field) : bool
    {
        $fields = self::getRealRelationFields($module);

        if (empty($fields)) {
            return false;
        }

        return in_array($field, $fields);
    }
public static function isRealRelationField ( string $ module , string $ field ) : bool { $ fields = self :: getRealRelationFields ( $ module ) ; if ( empty ( $ fields ) ) { return false ; } return in_array ( $ field , $ fields ) ; }
Check if the field is defined in the relation fields list

@param string $module Module to check in
@param string $field Field to check
@return bool True if field is real, false otherwise
Check if the field is defined in the relation fields list