':type name: str
:type func: (SanityConfig, SanityTargets) -> SanityResult
:type intercept: bool
:type script: str | None'

def __init__(self, name, func, intercept=True, script=None):

    super(SanityFunc, self).__init__(name)
    self.func = func
    self.intercept = intercept
    self.script = script
