I am attempting to build a model to test whether a layer exists in the current map, and if true, run the command ApplySymbologyFromLayer on that particular layer as follows:

The 'If Data Exists' doesn't seem to be the right tool to test whether a layer exists and the tool runs with an error:
Failed to execute. Parameters are not valid.
ERROR 000735: Input Values: Value is required
Failed to execute (13UGBLYR).
What would be the correct tool to use to check whether a layer exists in the current map?