def METHOD_NAME():
    found_missing = False
    for prog in ["r.neighborhoodmatrix"]:
        if not gscript.find_program(prog, "--help"):
            found_missing = True
            gscript.warning(
                _("'%s' required. Please install '%s' first using 'g.extension %s'")
                % (prog, prog, prog)
            )
    if found_missing:
        gscript.fatal(_("An ERROR occurred running i.segment.uspo"))