[4.2] Adding hasNot And whereHasNot Method

See #3413 
Please retain the full stop.