'Prepare a patch for ``PipRequirement.is_installed`` method that
always returns ``False``, used for faking a not installed ipdb.'

def pipReqIsNotInstalledMock(self):

    return patch('dependency_management.requirements.PipRequirement.PipRequirement.is_installed', (lambda self: False))
