Add contains_ok method