Checks if the provided object is a valid IEventRecord.

An IEventRecord is expected to have the following properties:

  • phase: An object representing the phase of the event.
  • event: An object representing the event details.
  • topics: An array of topics associated with the event.

This function validates the presence and type of these properties in the provided object.