Sophos Query based on file hash

Hi,

Is there any query that find if the files on the device based on hash that we define?

Thank you and kind regards.