React Hooks - useEffect Quiz

Can you call useEffect inside a conditional statement?