contains() supports function arguments