Yes. This type of offence that requires proof of a mental state of mind is not uncommon in the Criminal Code, for example. In that case, as opposed to recourse to a psychologist or what have you, there are simply inferences that are made about the person's state of mind based on the available evidence.
On October 16th, 2023. See this statement in context.