Separate function to check for prefix command keys