fun contains(id: Long): Boolean
Overrides MessageCache.contains
Checks whether an id is cached or not.
Return if there is a message corresponding to that id or not