public static bool HasAll(this SearchItemOptions flags, SearchItemOptions all) => (flags & all) == all;
 public static bool HasAny(this SearchItemOptions flags, SearchItemOptions f) => (flags & f) != 0;