question: public boolean hasFeature ( int feature ) { return ( ( feature >= MODE_FIRST && feature <= MODE_LAST ) || ( feature >= FEATURE_FIRST && feature <= FEATURE_LAST ) ) && ( feature == MODE_OFF || mCapabilities . get ( feature ) ) ; }
target:  Checks if a particular feature or mode is supported by the system.