$user->hasCode() Checks if the Files collection has any code files kirby/src/Cms/HasFiles.php#L143 $user->hasCode(): bool Return type bool Parent class Kirby\Cms\User