How to find if an entity is near another entity?

What would be the best way to find if an entity is near another entity?

pos1:Distance( pos2 )

Thanks!