\prg_new_protected_conditional:Nnn
  \module_foo:
  { p }
  { \prg_return_true: }

.
