Check length, then check both elements for true condition