Check whether resource is valid

Is there a way to check whether a resource is a valid audio resource?
Was this page helpful?