Function to check for required RPMs