This example is returning a "Use sentence case, not title case, for end-user strings." false positive, when it should not. Is that correct?

    if (isset($some_object->{'MYVAR'}) && drupal_strtoupper($some_object->{'ANOTHERVAR'}) == 'SOMEVALUE') {
      return FALSE;
    }