Write functions that return true if the given value is a