The feature almost made it to C#13. Moved probably to C#14:
https://devblogs.microsoft.com/dotnet/dotnet-build-2024-announcements/#extension-types
public implicit extension PersonExtension for Person
{
public bool IsLead
=> this.Organization
.Teams
.Any(team => team.Lead == this);
}
This property would be called as:
if (person.IsLead) { ... }