You should check whether a foreigner has a valid travel document and the right to legally stay in Poland, i.e. whether he/she is on the basis of visa-free travel (if possible), visa or residence permit (temporary, permanent, long-term EU resident permit) and whether he/she is entitled for work, i.e., has a declaration on entrusting work to a foreigner, a work permit or is exempt from this obligation.