[4.2] Adding hasNot And whereHasNot Method

See #3413