question: public static boolean contains ( String s , Property expected ) { if ( s == null || s . length ( ) == 0 ) { return false ; } int i = 0 ; while ( i < s . length ( ) ) { int codepoint = Character . codePointAt ( s , i ) ; Emoji e = map . get ( codepoint ) ; if ( e == null ) { return false ; } if ( ! e . is ( expected ) ) { return false ; } i += codepoint >= 0x010000 ? 2 : 1 ; } return true ; }
target:  Returns whether any of the characters in s has the expected properties.