public static bool IsUTimesURelation(IFuzzySet relation) { IDomain domain = relation.GetDomain(); if (domain.GetNumberOfComponents() != 2) { return(false); } IDomain a = domain[0]; IDomain b = domain[1]; return(a.All(element => b.HasElement(element))); }