def ipcidr(tgt):
 matcher = salt.minion.Matcher({'grains': __grains__}, __salt__)
 try:
  return matcher.ipcidr_match(tgt)
 except Exception as exc:
  log.exception(exc)
  return False

def ipcidr ( tgt ) : matcher = salt . minion . Matcher ( { 'grains' : __grains__ } , __salt__ ) try : return matcher . ipcidr_match ( tgt ) except Exception as exc : log . exception ( exc ) return False
return true if the minion matches the given ipcidr target cli example: .