This is returning true when the string should be interpreted as false.  In all three of these cases the function should return false but it all other cases it should return true.