tf2_gnn/cli_utils/param_helpers.py
def to_bool(val) -> bool:
    """ Accepts a boolean or str value, and returns the boolean equivalent, converting if necessary """

    if type(val) == bool:
        return val
    else:
        return bool(strtobool(val))
 Accepts a boolean or str value, and returns the boolean equivalent, converting if necessary 
Accepts a boolean or str value, and returns the boolean equivalent, converting if necessary
Accepts a boolean or str value and returns the boolean equivalent converting if necessary
def to_bool(val) -> bool:
    if type(val) == bool:
        return val
    else:
        return bool(strtobool(val))
def to_bool ( val ) -> bool : if type ( val ) == bool : return val else : return bool ( strtobool ( val ) )
Accepts a boolean or str value, and returns the boolean equivalent, converting if necessary
Accepts a boolean or str value and returns the boolean equivalent converting if necessary
""" Accepts a boolean or str value, and returns the boolean equivalent, converting if necessary """
val