copy #891 code to nikola.utils
copy #891 code to nikola.utils

Signed-off-by: Chris “Kwpolska” Warrick <de6f931166e131a07f31c96c765aee08f061d1a5@gmail.com>

knowsuchagency/nikola,xuhdev/nikola,xuhdev/nikola,JohnTroony/nikola,wcmckee/nikola,schettino72/nikola,jjconti/nikola,x1101/nikola,schettino72/nikola,TyberiusPrime/nikola,s2hc-johan/nikola,pluser/nikola,getnikola/nikola,immanetize/nikola,x1101/nikola,masayuko/nikola,lucacerone/nikola,masayuko/nikola,pluser/nikola,andredias/nikola,yamila-moreno/nikola,atiro/nikola,okin/nikola,TyberiusPrime/nikola,TyberiusPrime/nikola,berezovskyi/nikola,JohnTroony/nikola,gwax/nikola,schettino72/nikola,yamila-moreno/nikola,andredias/nikola,wcmckee/nikola,atiro/nikola,okin/nikola,knowsuchagency/nikola,atiro/nikola,JohnTroony/nikola,lucacerone/nikola,gwax/nikola,wcmckee/nikola,techdragon/nikola,immanetize/nikola,getnikola/nikola,gwax/nikola,techdragon/nikola,okin/nikola,berezovskyi/nikola,berezovskyi/nikola,immanetize/nikola,yamila-moreno/nikola,x1101/nikola,techdragon/nikola,masayuko/nikola,lucacerone/nikola,knowsuchagency/nikola,andredias/nikola,jjconti/nikola,xuhdev/nikola,jjconti/nikola,getnikola/nikola,s2hc-johan/nikola,getnikola/nikola,s2hc-johan/nikola,pluser/nikola,xuhdev/nikola,okin/nikola