def _check_for_cores():
 return (len(__salt__['config.option']('solr.cores')) > 0)

def _check_for_cores ( ) : return ( len ( __salt__ [ 'config.option' ] ( 'solr.cores' ) ) > 0 )
private method checks to see if using_cores has been set or not .