Perhaps you mean "fire" not "lay off"? Generally layoffs are structured to avoid discrimination risks.