The #Requires -Module statement works also when the statement is inside function - like ilustrated on the screenshot below.

Help about_Requires states:
You can use #Requires statements in any script. You cannot use them in functions, cmdlets, or snap-ins.