PHP: function to check if a file is an audio file, returns boolean response

Requires PHP >= 5.3