public static boolean shouldProxy ( Properties props ) { String shouldProxy = props . getProperty ( HadoopSecurityManager . ENABLE_PROXYING ) ; return shouldProxy != null && shouldProxy . equals ( "true" ) ; }
Looks for particular properties inside the Properties object passed in and determines whether proxying should happen or not