Function allowNull

Results in "validity" for null or any value that satisfies the specified checker