generating is_true and is_false steps