Do you mean you want to check if the type of the object contains EmployeeId property? If that's true, you can use reflection to investigate the properties. For example:
if (NameOfTheParameter.GetType().GetProperty("EmployeeId") != null) { ...
For more information, see
Type.GetProperty Method[
^]