A research-validated attachment-style quiz or test is the best way to find out. Tests like the ECR-RS provide scores on attachment anxiety and avoidance. Generally, the higher your avoidance score, the more avoidant tendencies you have.