Check if necessary permissions are granted @ param askIfDenied - If true, will ask the user for permissions again, if they were denied before
true if permissions are granted, false otherwise
Check if necessary permissions are granted @ param askIfDenied - If true, will ask the user for permissions again, if they were denied before