To know if the app you are going for is legal or not, you have to check if it has a valid license or not.