yawning_titan.db.compatibility_query.check_element#
- yawning_titan.db.compatibility_query.check_element(el_dict, n, include_unbounded)[source]#
Check that a restrict-able element is suitable for a given value.
I.e the value lies in a given range.
- Parameters:
el_dict – The dictionary representing of a ConfigGroup related to a range restricted element
n – The target value of a field as a Network.
include_unbounded – Whether to include fields where part of the range is unbounded.
- Returns:
A boolean representing of the element is suited for a particular value.