Text this: Generalized Orthogonality Relation for Spherical Harmonics