Function to check if app is backend.