Implement in_check method