def _DoesTargetTypeRequireBuild(target_dict):
 return bool(((target_dict['type'] != 'none') or target_dict.get('actions') or target_dict.get('rules')))

def _DoesTargetTypeRequireBuild ( target_dict ) : return bool ( ( ( target_dict [ 'type' ] != 'none' ) or target_dict . get ( 'actions' ) or target_dict . get ( 'rules' ) ) )
returns true if the target type is such that it needs to be built .