Added checking for report capability

Hi Davo, I got curious on how this would be done and ended up adding the checking for report capability myself. Looks to work in my staging environment, so submitting it here as a pull request.