create convertBooleanToTF method