Make exists method more concise