Using the && operator
in the if condition,
check if the value of the
name variable is Sam Smith
and the value of the
isAdmin variable is true.
If both the conditions are satisfied,
the if code block
should get executed.
Otherwise, the else code block
should get executed.