baybe.utils.boolean.check_if_in¶ baybe.utils.boolean.check_if_in(element: Any, allowed: list)[source]¶ Check if an element is in a given list of elements. Parameters: element (Any) – The element to be checked allowed (list) – The corresponding list Raises: ValueError – If element is not in allowed.