Finalize support for boolean variables, remove the bool function.
Use the is_boolean_expression to determine whether the refractory period is a correct boolean expression. Also change the is_boolean_expression function to the common namespace/specififers signature