private static Boolean hasSwitch ( String key , String sign ) { return ( key . length ( ) > sign . length ( ) ) && key . substring ( 0 , sign . length ( ) ) . equals ( sign ) ; }
Determines whether given argument key contains given argument sign .