def METHOD_NAME(mock_alias):
    """
    Tests return of empty alias and known target
    """
    with patch(
        "salt.modules.aliases.__parse_aliases",
        MagicMock(return_value=mock_alias),
    ):
        ret = aliases.has_target("", "bar@example.com")
        assert not ret