Tangential boundary data for HCurl

A quick question on the tangential trace for HCurl:

If I set “dirichlet” to the whole boundary while calling the constructor for HCurl, i.g.

mesh = Mesh(unit_square.GenerateMesh(maxh=0.5)) fes = HCurl(mesh,order=1, dirichlet="top|bottom|left|right")

this means that I am constructing H_0(curl;\Omega), doesn’t it?
Therfore if I use fes->IsDirichletDof(int d) or fes->GetFreeDofs() in my C++ Code it will correspond to the tangential trace boundary data (and its dofs)/ the degrees of freedom which do not influence my tangential trace on the boundary?

yes, correct