Insert records to final table only when data in staging table exists

I have a requirement where SSIS should delete the data from final table "A" only when we HAVE data in staging table or else it should not continue with deleting the data. Is there any way to implement this concept in SSIS? thanks