implement contain operator